/*
 * Copyright (c) 2015 YCY Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *
 * $Id: SimplePage.java  2015-3-6 下午12:41:22 jackLiang $
 */
package com.jkwzms.common.pagination;

import java.io.Serializable;

import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

/**
 * 未扩展完成
 * 
 * @author JackLiang
 * @date 2015-3-6
 * @version 1.0.0
 */
public class SimplePage implements Serializable {

    private static final long serialVersionUID = 2413609054419468086L;

    private int               pageSize;
    private int               pageNumber;

    private SimplePage(int pageSize, int pageNumber){
        this.pageSize = pageSize;
        this.pageNumber = pageNumber;
    }

    // getter setter
    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

}
